//
//  common.swift
//  YQL_WeiBo
//
//  Created by apple on 2016/11/16.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

//第三方登录授权配置信息
let client_id = "236082640"
let client_secret = "b328054250c1a80045713e7cd012db57"
let redirect_uri = "http://www.baidu.com"


//屏幕的尺寸信息
let ScreenWidth = UIScreen.main.bounds.width
let ScreenHeight = UIScreen.main.bounds.height


//修改window的根控制器的通知标识
let KModifyRootViewControll = "KModifyRootViewControll"


//随机色
var commonColor: UIColor{
    let R = CGFloat(arc4random() % 256) / 255.0
    let G = CGFloat(arc4random() % 256) / 255.0
    let B = CGFloat(arc4random() % 256) / 255.0
    return UIColor(red: R, green: G, blue: B, alpha: 1)
}
